package com.newly.common.base.entity.business.Po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
* @anthor sbq
* @date 2021/10/25 11:26
*/
@Data
@TableName(value = "gov_setting")
public class Setting implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 设置名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 设置内容
     */
    @TableField(value = "content")
    private String content;

    /**
     * 设置类型编码
     */
    @TableField(value = "code")
    private String code;

    /**
     * 0-正常 1-已删除
     */
    @TableField(value = "is_deleted")
    private Integer isDeleted;

    /**
     * 创建人id
     */
    @TableField(value = "create_user_id")
    private String createUserId;

    @TableField(value = "create_time")
    private Date createTime;

    @TableField(value = "update_time")
    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public static final String COL_ID = "id";

    public static final String COL_NAME = "name";

    public static final String COL_CONTENT = "content";

    public static final String COL_CODE = "code";

    public static final String COL_CREATE_USER_ID = "create_user_id";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_UPDATE_TIME = "update_time";
}